package com.sunwayworld.basemodule.business.ordertask.resource.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import com.sunwayworld.basemodule.business.ordertask.resource.LimsRunBoardResource;
import com.sunwayworld.basemodule.business.ordertask.service.LimsRunBoardService;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;

@RestController
public class LimsRunBoardResourceImpl implements LimsRunBoardResource {

    @Autowired
    private LimsRunBoardService limsRunBoardService;

    @Override
    public String updateSampleLocations(RestJsonWrapperBean wrapper) {
        return limsRunBoardService.updateSampleLocations(wrapper);
    }

    @Override
    public void clearSampleHole(RestJsonWrapperBean wrapper) {
        limsRunBoardService.clearSampleHole(wrapper);
    }

    @Override
    public void updateSampleBoardHole(RestJsonWrapperBean wrapper) {
        limsRunBoardService.updateSampleBoardHole(wrapper);
    }
}
